package tuitionmanagement.DAO;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.ArrayList;
import tuitionmanagement.entity.StudentInfo;

/**
 *
 * @author Admin
 */
public class StudentInfoFee {

    private StudentInfoDAO dao;
    private String lastError;

    public StudentInfoFee() {
        dao = new StudentInfoDAO();
    }

    /**
     * Read by all StudentInfo
     * @return
     */
    public ArrayList<StudentInfo> readByAll_StudentProfile() {
        return dao.readByAll_StudentProfile();

    }
     public ArrayList<StudentInfo> readByAll_TuitionInfo() {
        return dao.readByAll_TuitionInfo();

    }

    /**
     * @return the lastError
     */
    public String getLastError() {
        return lastError;
    }

    /**
     * @param lastError the lastError to set
     */
    public void setLastError(String lastError) {
        this.lastError = lastError;
    }
}